home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / X11R4 / cmds / X / ddx / dec / qdss / libtl / tlloadtemp.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-12-05  |  11.5 KB  |  223 lines

  1. /* start of template ram code */
  2. #define STARTTEMPLATE 64
  3. /* one beyond end of template code */
  4. #define ENDTEMPLATE 1705
  5.  
  6. /* template ram contents */
  7. unsigned short _trcode[] = {
  8.     0x8020,0x1,0x1,0x8026,0x1,0x8029,0x1,0x8001,
  9.     0x8,0x8024,0xe000,0xe000,0x800a,0x6e0,0x4047,0x8029,
  10.     0x1,0x8001,0x8,0x8024,0xe000,0xe000,0xe000,0x800a,
  11.     0x6e0,0x4051,0x8024,0xe000,0xe000,0xe000,0x8029,0xe000,
  12.     0x800a,0xe000,0x8001,0x40,0xe000,0x4000,0x8001,0x10,
  13.     0x8024,0xe000,0xe000,0xe000,0x8029,0xe000,0x8001,0x40,
  14.     0x800a,0x7a0,0xe000,0x4000,0x8001,0x10,0x8001,0x8,
  15.     0x8024,0xe000,0xe000,0xe000,0x8029,0xe000,0x800a,0x6e0,
  16.     0x4076,0x8001,0x10,0x802c,0xe000,0xe000,0xe000,0x8001,
  17.     0x8,0x8024,0xe000,0xe000,0xe000,0x8029,0xe000,0x800a,
  18.     0x16e4,0x4087,0x8020,0x1,0x1,0x8001,0x40,0x9007,
  19.     0x22,0x194,0x8001,0x40,0x8007,0xf000,0x160,0x8001,
  20.     0x40,0x9007,0x0,0x130,0x8001,0x40,0x9007,0x0,
  21.     0x118,0x8001,0x40,0x9007,0x38,0x194,0x8001,0x40,
  22.     0x9007,0xff,0x160,0x8001,0x40,0x9007,0xff,0x130,
  23.     0x8001,0x40,0x9007,0xff,0x118,0x8001,0x40,0xe000,
  24.     0x8020,0x1,0x1,0x8001,0x40,0x9007,0x21,0x194,
  25.     0x8001,0x40,0x8007,0xf000,0x160,0x8001,0x40,0x9007,
  26.     0x0,0x130,0x8001,0x40,0x9007,0x0,0x118,0x8001,
  27.     0x40,0x9007,0x34,0x194,0x8001,0x40,0x9007,0xff,
  28.     0x160,0x8001,0x40,0x9007,0xff,0x130,0x8001,0x40,
  29.     0x9007,0xff,0x118,0x8001,0x40,0xe000,0x8001,0x10,
  30.     0x8022,0xe000,0xe000,0xe000,0xe000,0xe000,0x8029,0xe000,
  31.     0x800a,0xee4,0x40ee,0x8001,0x10,0x8001,0x40,0x8020,
  32.     0xe000,0xe000,0xe000,0xe000,0xe000,0xe000,0xe000,0x8029,
  33.     0xe000,0x8001,0x10,0x801b,0xe000,0xe000,0xe000,0xe000,
  34.     0x800a,0xee0,0x4109,0x4000,0x8001,0x40,0x9007,0xffff,
  35.     0x188,0x8028,0x1,0x1,0x8001,0x8,0x8024,0xe000,
  36.     0xe000,0xe000,0xe000,0x800a,0x16e4,0x411c,0x8009,0xd0,
  37.     0x8001,0x8,0x8024,0xe000,0xe000,0xe000,0xe000,0xe000,
  38.     0xe000,0x800a,0x6e0,0x4128,0x8001,0x40,0x9007,0xffff,
  39.     0x188,0x8028,0x1,0x1,0x8001,0x10,0x8020,0xe000,
  40.     0xe000,0xe000,0xe000,0x8009,0xc2,0x8001,0x8,0x8024,
  41.     0xe000,0xe000,0xe000,0xe000,0x800a,0x1ee4,0x4145,0x8009,
  42.     0xc3,0x8022,0xe000,0x8024,0xe000,0xe000,0x8001,0x8,
  43.     0x8028,0xe000,0xe000,0x8001,0x8,0x8020,0xe000,0xe000,
  44.     0x800a,0x6e0,0x4156,0x802c,0xe000,0xe000,0xe000,0x8009,
  45.     0xc3,0x8022,0xe000,0x8024,0xe000,0xe000,0x8001,0x8,
  46.     0x8028,0xe000,0xe000,0x8001,0x8,0x8020,0xe000,0xe000,
  47.     0x800a,0x16e4,0x416e,0x800e,0xe000,0xe000,0xe000,0xe000,
  48.     0x8003,0x3ffd,0x8001,0x2,0x8014,0x2000,0x8003,0x3ffd,
  49.     0xe000,0x800e,0x0,0x400,0x0,0x360,0x35c,0x8003,
  50.     0x3ffd,0x8001,0x2,0x8014,0x2000,0x8003,0x3ffd,0x4000,
  51.     0x8029,0x1,0x8021,0x1,0x8001,0x8,0x8020,0xe000,
  52.     0x8022,0xe000,0xe000,0x8024,0xe000,0xe000,0xe000,0x8001,
  53.     0x10,0x802a,0xe000,0x800a,0xee0,0x419c,0x8001,0x10,
  54.     0x802a,0x1fff,0x4000,0x8029,0x1,0x8021,0x1,0x8001,
  55.     0x8,0x8020,0xe000,0x8022,0xe000,0xe000,0xe000,0xe000,
  56.     0xe000,0xe000,0x8001,0x10,0x802a,0xe000,0x800a,0xee0,
  57.     0x41b7,0x8001,0x10,0x802a,0x1fff,0x4000,0x800e,0x0,
  58.     0x400,0x0,0x360,0x35c,0x801b,0x0,0x400,0x3ca0,
  59.     0x800,0x8037,0x6c0,0x8003,0x3ffd,0x8001,0x2,0x8013,
  60.     0x360,0x8003,0x3ffd,0x8003,0x1fff,0x8001,0x2000,0x8014,
  61.     0x20,0x8016,0x360,0x8013,0x0,0x8003,0x3ffd,0x8001,
  62.     0x2,0x8003,0x1fff,0x8001,0x2000,0x4000,0x8013,0x0,
  63.     0x8003,0x3ffd,0x8001,0x2,0x8003,0x3ffd,0x8014,0x760,
  64.     0x8003,0x3ffd,0x8003,0x3ffd,0x800e,0x0,0x400,0x0,
  65.     0x360,0x801b,0x0,0x400,0x3ca0,0x800,0x8037,0x6c0,
  66.     0x8016,0x0,0x8013,0x0,0x8003,0x3ffd,0x8003,0x3ffd,
  67.     0x4000,0x8003,0x3ffe,0x8001,0x1,0x8014,0x2000,0x8013,
  68.     0x360,0x8016,0x0,0x8003,0x3ffd,0x8001,0x2,0x8016,
  69.     0x3ca0,0x8018,0x3ca0,0x801a,0x3ca0,0x8003,0x1fff,0x8001,
  70.     0x2000,0x4000,0x8003,0x3ffe,0x8001,0x1,0x8014,0x2000,
  71.     0x8013,0x0,0x8016,0x0,0x8003,0x3ffd,0x8001,0x2,
  72.     0x8016,0x360,0x8018,0x360,0x801a,0x360,0x8003,0x1fff,
  73.     0x8001,0x2000,0x4000,0x8001,0x10,0x8001,0x40,0x8007,
  74.     0xf000,0x1a0,0xe000,0x8001,0x10,0x8001,0x40,0x8007,
  75.     0xf000,0x1a1,0x8001,0x40,0x8007,0xf000,0x1a0,0x8001,
  76.     0x40,0x8007,0xf000,0x1a2,0xe000,0x8001,0x10,0x8001,
  77.     0x80,0x800c,0xf000,0x1a9,0x8001,0x80,0x800c,0xf000,
  78.     0x1a8,0x8001,0x80,0x800c,0xf000,0x1aa,0xe000,0x8001,
  79.     0x10,0x8001,0x40,0x8007,0xf000,0x1a4,0x8001,0x40,
  80.     0x8007,0xf000,0x1ac,0xe000,0x8001,0x10,0x8001,0x40,
  81.     0x8007,0xf000,0x1a5,0x8001,0x40,0x8007,0xf000,0x1a4,
  82.     0x8001,0x40,0x8007,0xf000,0x1a6,0x8001,0x40,0x8007,
  83.     0xf000,0x1ad,0x8001,0x40,0x8007,0xf000,0x1ac,0x8001,
  84.     0x40,0x8007,0xf000,0x1ae,0xe000,0x8001,0x10,0x8001,
  85.     0x40,0x8007,0xf000,0x186,0x8001,0x40,0x9007,0xffff,
  86.     0x18a,0xe000,0x8001,0x10,0x8001,0x40,0x8007,0xf000,
  87.     0x186,0x8001,0x40,0x9007,0xffff,0x18a,0xe000,0x8001,
  88.     0x10,0x801b,0xe000,0xe000,0xe000,0xe000,0xe000,0x8001,
  89.     0x10,0x801b,0x0,0x400,0x3ca0,0x800,0xe000,0x8001,
  90.     0x10,0x8001,0x40,0x8007,0xf000,0x160,0xe000,0x8001,
  91.     0x10,0x8001,0x40,0x8007,0xf000,0x130,0xe000,0x8001,
  92.     0x10,0x8001,0x40,0x8007,0xf000,0x160,0xe000,0x8001,
  93.     0x10,0x8001,0x40,0x8007,0xf000,0x118,0xe000,0x8001,
  94.     0x10,0x8001,0x40,0x8007,0xf000,0x130,0x8001,0x40,
  95.     0x8007,0xf000,0x160,0x8001,0x40,0x8007,0xf000,0x118,
  96.     0xe000,0x8001,0x10,0x8001,0x80,0x900c,0x0,0x140,
  97.     0x8001,0x80,0x900c,0x0,0x110,0x8001,0x80,0x800c,
  98.     0xf000,0x182,0x8001,0x80,0x900c,0x0,0x120,0x8001,
  99.     0x80,0x900c,0xff,0x140,0x8001,0x80,0x800c,0xf000,
  100.     0x182,0x8001,0x80,0x900c,0x0,0x140,0x8001,0x80,
  101.     0x900c,0xff,0x110,0x8001,0x80,0x800c,0xf000,0x182,
  102.     0x8001,0x80,0x900c,0xff,0x120,0x8001,0x80,0x900c,
  103.     0xff,0x140,0xe000,0x8001,0x10,0x8015,0xe000,0xe000,
  104.     0xe000,0xe000,0xe000,0xe000,0xe000,0x8001,0x10,0x8001,
  105.     0x40,0x8007,0xf000,0x160,0x8001,0x40,0x9007,0x21,
  106.     0x194,0x8001,0x40,0x8024,0xe000,0xe000,0xe000,0x8029,
  107.     0xe000,0x8001,0x40,0x800a,0x7e4,0xe000,0x8001,0x10,
  108.     0x8001,0x40,0x9007,0xff,0x160,0x8001,0x40,0x4000,
  109.     0x8001,0x10,0x8001,0x40,0x8007,0xf000,0x160,0x8001,
  110.     0x40,0x9007,0x23,0x194,0x8001,0x40,0x8024,0xe000,
  111.     0xe000,0xe000,0x8029,0xe000,0x8001,0x40,0x800a,0x7e4,
  112.     0xe000,0x8001,0x10,0x8001,0x40,0x8007,0xf000,0x130,
  113.     0x8001,0x40,0x8007,0xf000,0x160,0x8001,0x40,0x8007,
  114.     0xf000,0x118,0x8001,0x40,0x9007,0x21,0x194,0x8001,
  115.     0x40,0x8024,0xe000,0xe000,0xe000,0x8029,0xe000,0x8001,
  116.     0x40,0x800a,0x7e4,0xe000,0x8001,0x10,0x8001,0x40,
  117.     0x9007,0xff,0x160,0x8001,0x40,0x9007,0xff,0x130,
  118.     0x8001,0x40,0x9007,0xff,0x118,0x8001,0x40,0x4000,
  119.     0x8001,0x10,0x8001,0x40,0x8007,0xf000,0x130,0x8001,
  120.     0x40,0x8007,0xf000,0x160,0x8001,0x40,0x8007,0xf000,
  121.     0x118,0x8001,0x40,0x9007,0x23,0x194,0x8001,0x40,
  122.     0x8024,0xe000,0xe000,0xe000,0x8029,0xe000,0x8001,0x40,
  123.     0x800a,0x7e4,0xe000,0x8001,0x10,0x8020,0x1,0x1,
  124.     0x8026,0xe000,0x8029,0xe000,0x8001,0x40,0x9007,0x22,
  125.     0x194,0x8001,0x40,0x8007,0xf000,0x160,0x8001,0x40,
  126.     0x9007,0x38,0x194,0x8001,0x40,0x9007,0xff,0x160,
  127.     0x8001,0x40,0x8025,0xe000,0x8001,0x8,0x8022,0xe000,
  128.     0xe000,0x8024,0xe000,0x800a,0x1ee4,0x43fc,0x8001,0x10,
  129.     0x8020,0x1,0x1,0x8026,0xe000,0x8029,0xe000,0x8001,
  130.     0x40,0x9007,0x22,0x194,0x8001,0x40,0x8007,0xf000,
  131.     0x160,0x8001,0x40,0x9007,0x38,0x194,0x8001,0x40,
  132.     0x9007,0xff,0x160,0x8001,0x40,0x8025,0xe000,0x8001,
  133.     0x8,0x8022,0xe000,0xe000,0x8024,0xe000,0x800a,0xee4,
  134.     0x4427,0x8001,0x10,0x8020,0x1,0x1,0x8026,0xe000,
  135.     0x8029,0xe000,0x8001,0x40,0x9007,0x21,0x194,0x8001,
  136.     0x40,0x8007,0xf000,0x160,0x8001,0x40,0x9007,0x34,
  137.     0x194,0x8001,0x40,0x9007,0xff,0x160,0x8001,0x40,
  138.     0x8025,0xe000,0x8001,0x8,0x8022,0xe000,0xe000,0x8024,
  139.     0xe000,0x800a,0xee4,0x4452,0x8001,0x10,0x8001,0x40,
  140.     0x9007,0x24,0x194,0x8001,0x40,0x8020,0x1,0x1,
  141.     0x8026,0xe000,0x8029,0xe000,0x8023,0xe000,0x8025,0xe000,
  142.     0x8001,0x10,0x8001,0x8,0x8022,0xe000,0x8024,0xe000,
  143.     0x800a,0xee4,0x4472,0x8001,0x40,0x9007,0x21,0x195,
  144.     0x8001,0x40,0x8007,0xf000,0x160,0x8001,0x40,0x9007,
  145.     0x0,0x130,0x8001,0x40,0x9007,0x0,0x118,0x8001,
  146.     0x40,0x9007,0x34,0x195,0x8001,0x40,0x9007,0xff,
  147.     0x160,0x8001,0x40,0x9007,0xff,0x130,0x8001,0x40,
  148.     0x9007,0xff,0x118,0xe000,0x8001,0x40,0x9007,0x23,
  149.     0x195,0x8001,0x40,0x8007,0xf000,0x160,0x8001,0x40,
  150.     0x9007,0x0,0x130,0x8001,0x40,0x9007,0x0,0x118,
  151.     0x8001,0x40,0x9007,0x3c,0x195,0x8001,0x40,0x9007,
  152.     0xff,0x160,0x8001,0x40,0x9007,0xff,0x130,0x8001,
  153.     0x40,0x9007,0xff,0x118,0xe000,0x8001,0x40,0x9007,
  154.     0x21,0x194,0x8001,0x40,0x8007,0xf000,0x160,0x8001,
  155.     0x40,0x9007,0x0,0x130,0x8001,0x40,0x9007,0x0,
  156.     0x118,0x8001,0x40,0x9007,0x34,0x194,0x8001,0x40,
  157.     0x9007,0xff,0x160,0x8001,0x40,0x9007,0xff,0x130,
  158.     0x8001,0x40,0x9007,0xff,0x118,0xe000,0x8001,0x40,
  159.     0x9007,0x22,0x194,0x8001,0x40,0x8007,0xf000,0x160,
  160.     0x8001,0x40,0x9007,0x0,0x130,0x8001,0x40,0x9007,
  161.     0x0,0x118,0x8001,0x40,0x9007,0x38,0x194,0x8001,
  162.     0x40,0x9007,0xff,0x160,0x8001,0x40,0x9007,0xff,
  163.     0x130,0x8001,0x40,0x9007,0xff,0x118,0xe000,0x8001,
  164.     0x10,0x8001,0x40,0x9007,0x24,0x195,0x802c,0xe000,
  165.     0xe000,0xe000,0x8001,0x8,0x8024,0xe000,0xe000,0xe000,
  166.     0x8029,0xe000,0x800a,0x16e4,0x452a,0x8001,0x10,0x8001,
  167.     0x40,0x8009,0x80,0x8020,0x1,0x1,0x8022,0xe000,
  168.     0xe000,0x8026,0xe000,0x8029,0xe000,0x801b,0xe000,0xe000,
  169.     0xe000,0xe000,0x8001,0x10,0x8024,0xe000,0xe000,0x800a,
  170.     0xee4,0x454a,0x4000,0xe000,0x8001,0x8,0x802c,0xe000,
  171.     0xe000,0xe000,0xe000,0x8001,0x8,0x802c,0xe000,0xe000,
  172.     0xe000,0xe000,0x8001,0x8,0x8020,0xe000,0xe000,0xe000,
  173.     0xe000,0x8009,0xc2,0xe000,0x8001,0x8,0x8020,0xe000,
  174.     0xe000,0xe000,0xe000,0x8009,0xc2,0xe000,0x8001,0x8,
  175.     0x8024,0xe000,0xe000,0xe000,0x8029,0xe000,0x800a,0x16e4,
  176.     0x4576,0x8001,0x8,0x8029,0x1,0x8001,0x8,0x8024,
  177.     0xe000,0xe000,0xe000,0x800a,0x16e4,0x4585,0x8001,0x8,
  178.     0x8024,0xe000,0xe000,0xe000,0x8029,0xe000,0x800a,0x6e4,
  179.     0x458e,0x8001,0x8,0x8029,0x1,0x8001,0x8,0x8024,
  180.     0xe000,0xe000,0xe000,0x800a,0x6e4,0x459d,0x8001,0x8,
  181.     0x802a,0x1,0x1,0x8001,0x8,0x8024,0xe000,0xe000,
  182.     0xe000,0x8029,0xe000,0x800a,0xee0,0x45ab,0x8001,0x8,
  183.     0x8029,0x1,0x802a,0x1,0x1,0x8001,0x8,0x8024,
  184.     0xe000,0xe000,0xe000,0x800a,0xee0,0x45bd,0x8001,0x10,
  185.     0x8001,0x40,0x8007,0xf000,0x186,0xe000,0x8001,0x40,
  186.     0x8007,0xf000,0x188,0xe000,0x8001,0x10,0x8001,0x40,
  187.     0x8007,0xf000,0x1a5,0x8001,0x40,0x8007,0xf000,0x1a4,
  188.     0x8001,0x40,0x8007,0xf000,0x1a6,0xe000,0x8001,0x10,
  189.     0x8001,0x40,0x8007,0xf000,0x1ad,0x8001,0x40,0x8007,
  190.     0xf000,0x1ac,0x8001,0x40,0x8007,0xf000,0x1ae,0xe000,
  191.     0x8001,0x40,0x8007,0xf000,0x190,0xe000,0x8001,0x40,
  192.     0x8007,0xf000,0x191,0xe000,0x8001,0x40,0x8007,0xf000,
  193.     0x192,0xe000,0x8001,0x40,0x8007,0xf000,0x194,0xe000,
  194.     0x8001,0x40,0x8007,0xf000,0x195,0xe000,0x8001,0x40,
  195.     0x8007,0xf000,0x196,0xe000,0x8001,0x8,0x8009,0xe000,
  196.     0xe000,0x8001,0x10,0x8009,0xc0,0xe000,0x8001,0x10,
  197.     0x8024,0xe000,0xe000,0xe000,0x8029,0xe000,0x800a,0xe000,
  198.     0x8001,0x40,0x4000,0x8001,0x10,0x8020,0x1,0x1,
  199.     0x8022,0xe000,0xe000,0x8026,0xe000,0x8029,0xe000,0x800a,
  200.     0xe000,0x8001,0x20,0x4000,0x8001,0x10,0x8001,0x40,
  201.     0x801b,0x0,0x400,0x0,0x800,0x8020,0xe000,0xe000,
  202.     0x8001,0x10,0x8022,0xe000,0xe000,0xe000,0xe000,0xe000,
  203.     0x8029,0xe000,0x800a,0xee0,0x4650,0x4000,0x8001,0x8,
  204.     0x802c,0xe000,0xe000,0xe000,0x8001,0x40,0x9007,0x24,
  205.     0x195,0x8001,0x10,0x8022,0xe000,0xe000,0xe000,0xe000,
  206.     0xe000,0x8029,0xe000,0x800a,0x1ee4,0x4669,0x8001,0x10,
  207.     0x8027,0x0,0x0,0xe000,0x8001,0x40,0x9007,0xffff,
  208.     0x18f,0x8001,0x40,0x9007,0x0,0x18e,0xe000,0x8001,
  209.     0x10,0x8001,0x40,0x9007,0xcc,0x186,0x8001,0x40,
  210.     0x8007,0xf000,0x160,0x8001,0x40,0x8007,0xf000,0x186,
  211.     0x8001,0x40,0x9007,0xff,0x160,0xe000,0x8001,0x10,
  212.     0x8024,0x0,0x8022,0xe000,0x8020,0xe000,0x8026,0xe000,0xe000
  213.     };
  214.  
  215. LoadTemplate(pBase)
  216. unsigned short *pBase;
  217. {
  218.     register int i;
  219.     register int j = 0;
  220.     for(i=STARTTEMPLATE; i<ENDTEMPLATE; i++)
  221.         pBase[i] = _trcode[j++];
  222. }
  223.